home *** CD-ROM | disk | FTP | other *** search
/ PC Home 109 / PC Home 109.iso / data1.cab / Program_Files / sspeare.dxr / 00006.ls < prev    next >
Encoding:
Text File  |  2001-03-02  |  3.6 KB  |  133 lines

  1. on exitFrame
  2.   global gDone
  3.   set gDone to 1
  4.   repeat with i = 40 to 50
  5.     if the visible of sprite i = 0 then
  6.       set gDone to 0
  7.     end if
  8.   end repeat
  9.   repeat while the timer <= (1 * 60)
  10.     set the visible of sprite 15 to 1
  11.     set the puppet of sprite 15 to 1
  12.     set the memberNum of sprite 15 to 32
  13.     updateStage()
  14.     set the memberNum of sprite 15 to 33
  15.     updateStage()
  16.     set the memberNum of sprite 15 to 34
  17.     updateStage()
  18.     go(the frame)
  19.   end repeat
  20.   set the visible of sprite 15 to 0
  21.   if the memberNum of sprite 4 = 6 then
  22.     set the visible of sprite 40 to 1
  23.   else
  24.     set the puppet of sprite 4 to 1
  25.     set n to random(26)
  26.     set the memberNum of sprite 4 to n
  27.     if the memberNum of sprite 4 = 6 then
  28.       set the visible of sprite 40 to 1
  29.     end if
  30.   end if
  31.   if the memberNum of sprite 5 = 7 then
  32.     set the visible of sprite 41 to 1
  33.   else
  34.     set the puppet of sprite 5 to 1
  35.     set n to random(26)
  36.     set the memberNum of sprite 5 to n
  37.     if the memberNum of sprite 5 = 7 then
  38.       set the visible of sprite 41 to 1
  39.     end if
  40.   end if
  41.   if the memberNum of sprite 6 = 1 then
  42.     set the visible of sprite 42 to 1
  43.   else
  44.     set the puppet of sprite 6 to 1
  45.     set n to random(26)
  46.     set the memberNum of sprite 6 to n
  47.     if the memberNum of sprite 6 = 1 then
  48.       set the visible of sprite 42 to 1
  49.     end if
  50.   end if
  51.   if the memberNum of sprite 7 = 3 then
  52.     set the visible of sprite 43 to 1
  53.   else
  54.     set the puppet of sprite 7 to 1
  55.     set n to random(26)
  56.     set the memberNum of sprite 7 to n
  57.     if the memberNum of sprite 7 = 3 then
  58.       set the visible of sprite 43 to 1
  59.     end if
  60.   end if
  61.   if the memberNum of sprite 8 = 2 then
  62.     set the visible of sprite 44 to 1
  63.   else
  64.     set the puppet of sprite 8 to 1
  65.     set n to random(26)
  66.     set the memberNum of sprite 8 to n
  67.     if the memberNum of sprite 8 = 2 then
  68.       set the visible of sprite 44 to 1
  69.     end if
  70.   end if
  71.   if the memberNum of sprite 9 = 6 then
  72.     set the visible of sprite 45 to 1
  73.   else
  74.     set the puppet of sprite 9 to 1
  75.     set n to random(26)
  76.     set the memberNum of sprite 9 to n
  77.     if the memberNum of sprite 9 = 6 then
  78.       set the visible of sprite 45 to 1
  79.     end if
  80.   end if
  81.   if the memberNum of sprite 10 = 4 then
  82.     set the visible of sprite 46 to 1
  83.   else
  84.     set the puppet of sprite 10 to 1
  85.     set n to random(26)
  86.     set the memberNum of sprite 10 to n
  87.     if the memberNum of sprite 10 = 4 then
  88.       set the visible of sprite 46 to 1
  89.     end if
  90.   end if
  91.   if the memberNum of sprite 11 = 2 then
  92.     set the visible of sprite 47 to 1
  93.   else
  94.     set the puppet of sprite 11 to 1
  95.     set n to random(26)
  96.     set the memberNum of sprite 11 to n
  97.     if the memberNum of sprite 11 = 2 then
  98.       set the visible of sprite 47 to 1
  99.     end if
  100.   end if
  101.   if the memberNum of sprite 12 = 1 then
  102.     set the visible of sprite 48 to 1
  103.   else
  104.     set the puppet of sprite 12 to 1
  105.     set n to random(26)
  106.     set the memberNum of sprite 12 to n
  107.     if the memberNum of sprite 12 = 1 then
  108.       set the visible of sprite 48 to 1
  109.     end if
  110.   end if
  111.   if the memberNum of sprite 13 = 5 then
  112.     set the visible of sprite 49 to 1
  113.   else
  114.     set the puppet of sprite 13 to 1
  115.     set n to random(26)
  116.     set the memberNum of sprite 13 to n
  117.     if the memberNum of sprite 13 = 5 then
  118.       set the visible of sprite 49 to 1
  119.     end if
  120.   end if
  121.   if the memberNum of sprite 14 = 2 then
  122.     set the visible of sprite 50 to 1
  123.   else
  124.     set the puppet of sprite 14 to 1
  125.     set n to random(26)
  126.     set the memberNum of sprite 14 to n
  127.     if the memberNum of sprite 14 = 2 then
  128.       set the visible of sprite 50 to 1
  129.     end if
  130.   end if
  131.   go(the frame - 1)
  132. end
  133.